79f29d38266feb6b07eef52b48800dd5073cba3c,src/main/java/org/more/util/BeanUtils.java,BeanUtils,canReadPropertyOrField,#String#Class#,336

Before Change


    }
    /**测试是�支�readPropertyOrField方法。*/
    public static boolean canReadPropertyOrField(final String propertyName, final Class<?> target) {
        if (BeanUtils.canReadProperty(propertyName, target) == false) {
            if (BeanUtils.hasField(propertyName, target) == false) {
                return false;
            }
        }

After Change


    /**测试是�支�readPropertyOrField方法。*/
    public static boolean canReadPropertyOrField(final String propertyName, final Class<?> target) {
        if (!BeanUtils.canReadProperty(propertyName, target)) {
            if (!BeanUtils.hasField(propertyName, target)) {
                return false;
            }
        }